import request from '@/utils/request'

// 查询报销列表
export function listExpend(query) {
  return request({
    url: '/Expend/expend/list',
    method: 'get',
    params: query
  })
}




// 查询报销详细
export function getExpend(expendId) {
  return request({
    url: '/Expend/expend/' + expendId,
    method: 'get'
  })
}
export function getExpendxx(expendId) {
  return request({
    url: '/Expend/expend/xx/' + expendId,
    method: 'get'
  })
}

// 新增报销
export function addExpend(data) {
  return request({
    url: '/Expend/expend',
    method: 'post',
    data: data
  })
}

// 修改报销
export function updateExpend(data) {
  return request({
    url: '/Expend/expend',
    method: 'put',
    data: data
  })
}

// 删除报销
export function delExpend(expendId) {
  return request({
    url: '/Expend/expend/' + expendId,
    method: 'delete'
  })
}

export function getexcheckedlist(query) {
  return request({
    url: '/system/wecom/getexcheckedlist',
    method: 'get',
  })
}



